package com.woniu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class StaffVO implements Serializable {
    private Integer id;
    private String staffNo;
    private String  name;
    private Integer gender;
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 挂号价格
     */
    private BigDecimal price;

    /**
     * 月薪(元)
     */
    private BigDecimal salary;

    /**
     * 医生简介
     */
    private String profile;

    /**
     * 职称
     */
    private String title;
    /**
     * 所在部门ID
     */
//    private Integer departmentId;
//
//    /**
//     * 角色ID
//     */
//    private Integer roleId;
//
//    /**
//     * 科室ID，NULL表示无科室
//     */
//    private Integer medicalRoomId;
    private String  deptName;  // 仅接口需要，与表无关
    private String  roomName;  // 仅接口需要，与表无关
    private String roleName;
    private Integer status;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

}
